<template>
  <div :style="{ 'height': height }" class="empty-state-wrap">
    <img :src="noStaffIcon" class="state-img">
    <span class="no-text">{{ text }}</span>
    <span class="no-dec">{{ dec }}</span>
  </div>
</template>
<script>
import noStaffIcon from '@/assets/no_staff.png';
export default {
  name: 'EmptyState',
  props: {
    text: {
      type: String,
      default: ''
    },
    dec: {
      type: String,
      default: ''
    },
    height: {
      type: String,
      default: 'auto'
    }
  },
  data() {
    return {
      noStaffIcon
    };
  },
  methods: {

  }
};
</script>
<style lang="scss" scoped>
.empty-state-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-left: 24px;
}
.state-img {
  height: 64px;
  width: 64px;
}
.no-text {
  color: #999999;
  font-size: 14px;
  margin-bottom: 4px;
}
.no-dec {
  color: #999;
  font-size: 12px;
}
</style>
